Skip to main content

Getting Started

These are the steps if you want to setup whoxa manually.

Steps

  • Laravel Installation
  • MySQL Installation
  • Node Js Installation (Middleware between Laravel APIs to connect socket.io)
  • Project Deployment
  • Auto run Project on Server restart
note

To integrate Socket.IO with a Laravel application, the recommended approach is to use Laravel as the backend API and run Socket.IO in a separate Node.js server. Laravel alone does not natively support Socket.IO since it's a Node.js library.

Laravel Configuration

Laravel

Laravel is a popular open-source PHP framework designed for building modern web applications. It follows the Model-View-Controller (MVC) architectural pattern and provides an elegant syntax to simplify common development tasks.

Requirements

Tools and Setup

Requirements:

  • PHP 8.3 or greater

    To Verify the php version on server installed or not, enter the following command into your terminal or command line.

    php -v
  • OpenSSL PHP Extension
  • PDO PHP Extension
  • Mbstring PHP Extension
  • Tokenizer PHP Extension
  • XML PHP Extension
  • Ctype PHP Extension
  • JSON PHP Extension
  • GD PHP Extension (or Imagick PHP Extension)
  • PHP Fileinfo extension
  • PHP Zip Archive
  • Rewrite Module (Apache or Nginx)

App Project Structure

snapta-flutter-app.zip
│ ├── snapta_laravel.zip
│ ├── snapta_app.zip
│ └── snapta_admin.zip
│ └── snapta_node.zip

Web Project Structure

snapta-website.zip
│ ├── snapta_laravel.zip
│ ├── snapta_web.zip
│ └── snapta_admin.zip
│ └── snapta_node.zip